import React, { Component } from 'react';
import Dygzj from './第一个组件'
import Degzj from './第二个组件'
import "../index.css"
class chacao extends Component {
  constructor(props) {
    super(props);
    this.state = {  }
  }
  render() { 
    return ( 
      <div>
        <ul className="myUl clearfix">
          <li>
            <Dygzj>
              <span>你好</span>
              {/* <div>不好</div> */}
            </Dygzj>
          </li>
          <li>
            <Degzj leftslot={<span>你好啊</span>} rightslot={<div>不好</div>}></Degzj>
          </li>
        </ul>
       
      </div>
    );
  }
}
 
export default chacao;